
<div class="container-fluid" id="atvDetailInfoDiv">

</div>
<div class="container-fluid">
    <div class="row">
        <div id="editInfo" class="col-sm-1">
            <input type="button" class="btn btn-info" value="编辑信息">

        </div>
        <div id="editCmp" class="col-sm-1 hidden">
            <input disabled type="button" class="btn btn-info " value="完成">
        </div>
        <div id="backTo" class="col-sm-1">
            <input  type="button" class="btn btn-info" value="返回">
        </div>
    </div>
</div>
<script id="tpl_activityDetailInfoDiv" type="text/template">
        <img id="posterImg" >
        <p id="atvId" class="hidden" ><%= atvId%></p>
        <p  id="atvSubj"> <%= atvSubj%></p>
        <p  id="atvType"> <%= atvType%></p>

        <p id="date"> <%= atvStartTime +"-"+atvEndTime %></p>
        <p id="location"><%= atvCity +"-"+atvAddress %></p>
        <p id="shareCount"><%= shareCount %></p>
        <p id="atvDesc"><%= atvDesc %></p>
        </p>
</script>

<script id="tpl_uploadActivityDiv" type="text/template">
    <div class="center-block">
        <p class="text-center">
            暂时还没有发现发布的活动
        </p>
        <a href="#upLoadActivity">
            立即上传活动
        </a>
    </div>
</script>

<script id="tpl_editActivityInfoDiv" type="text/template">
    <div class="container-fluid">
        <form>
            <div class="form-group">
                <div>
                    <label class="col-sm-2 control-label">活动时间</label>
                    <div class="col-sm-4">
                        <input forEdit name="dateStart" type="date" class="form-control" value = "<%= dateStart %>">
                    </div>
                    <div class="col-sm-4">
                        <input forEdit name="timeStart" type="time" class="form-control"value = "<%= timeStart %>">
                    </div>
                    <div class="col-sm-offset-2 col-sm-1">
                        <p class="">-</p>
                    </div>
                    <div class="col-sm-4">
                        <input forEdit name="dateEnd" type="date" class="form-control" value = "<%= dateEnd %>">
                    </div>
                    <div class="col-sm-4">
                        <input forEdit name="timeEnd" type="time" class="form-control" value = "<%= timeEnd %>">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div class="">
                    <label class="col-sm-2 control-label">报名截止时间</label>

                    <div class="col-sm-5">
                        <input forEdit name="deadlineDate" type="date" class="form-control"value = "<%= deadlineDate %>" >
                    </div>
                    <div class="col-sm-5">
                        <input forEdit name="deadlineTime" type="time" class="form-control"value = "<%= deadlineTime  %>">
                    </div>
                </div>
            </div>
            <div id="atvPosition" class="form-group">
                <div class="">
                    <label class="col-sm-2 control-label">活动地点</label>

                    <div class="col-sm-4">
                        <input forEdit name="atvCity" class="col-sm-2 form-control" placeholder="选择城市" value = "<%= atvCity  %>">
                    </div>
                    <div class="col-sm-3">
                        <input forEdit name="atvUni" class="col-sm-2 form-control" placeholder="选择学校" value = "<%= atvUni %>">
                    </div>
                    <div class="col-sm-3">
                        <input forEdit name="atvAddress" class="col-sm-2 form-control" placeholder="请输入活动地点" value = "<%= atvAddress %>">
                    </div>
                </div>
            </div>
            <div class="form-group">
                <div>
                    <label class="col-sm-2 control-label">人数上限</label>
                    <div class="col-sm-4 ">
                        <input forEdit name="upperBound" type="number" class="form-control" placeholder="无则不填" value="<%= upperBound %>">
                    </div>
                </div>
            </div>
        </form>
    </div>
    <div class="container-fluid">
        <p id="expendDetail" class="text-center text-info">
            展开活动详情
        </p>
    </div>

    <div id="atvDetailInfo" class="hidden">
        <div class="container-fluid " >
            <div class="row">
                <div id="uploadImgDiv" class="col-sm-4" >

                </div>
                <div class="col-lg-8">
                    <textarea id="detailTextarea" style="height: 600px">
                        <%= atvDesc %>
                    </textarea>
                </div>
            </div>
        </div>
    </div>
</script>